<template>
  <div id="message">
    <div class="mess" @click="goDetail">
      <h3>行业产品库</h3>
      <p>用PHP 语言；基于开源系统08CMS二次开发；调整行业和其他功能；最好是北京的团队，方便沟通；…</p>
      <div class="text">
        <div class="info">
          <span>胡一闽</span>
          <span>联系人</span>
        </div>
        <div class="info">
          <span>17311220816</span>
          <span>联系电话</span>
        </div>
      </div>
      <div class="time">2015-04-10</div>
    </div>
    <div class="mess" @click="goDetail">
      <h3>家电生产线信息管理程序</h3>
      <p>用PHP 根据附件中要求描述，必须用C#来开发一套生产线信息管理程序，主要是根据生产线一些硬件0，1的开…</p>
      <div class="text">
        <div class="info">
          <span>时分</span>
          <span>联系人</span>
        </div>
        <div class="info">
          <span>13882864298</span>
          <span>联系电话</span>
        </div>
      </div>
      <div class="time">2015-04-09</div>
    </div>
    <div class="mess" @click="goDetail">
      <h3>ORACLE的方案咨询</h3>
      <p>用PHP 大型商旅系统，集成多产品（类似携程），寻求后端ORACLE高可用架设解决方案，从以下几个方面考…</p>
      <div class="text">
        <div class="info">
          <span>陈宇両</span>
          <span>联系人</span>
        </div>
        <div class="info">
          <span>15268498562</span>
          <span>联系电话</span>
        </div>
      </div>
      <div class="time">2015-04-09</div>
    </div>
    <div class="bottom">暂时没有更多了~</div>
  </div>
</template>

<script>
export default {
  name: 'Message',
  created: function setTitle () {
    document.title = '成员风采项目合作信息'
  },
  methods: {
    goDetail () {
      this.$router.push({name: 'Messdetail'})
    }
  }
}
</script>

<style lang='scss' scoped>
#message{
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  .mess{
    background-color: #fff;
    padding: 6.66vw 3.46vw;
    margin-top: 2.66vw;
    box-shadow:0px 2px 8px 0px rgba(0,0,0,0.16);
    img{
      width: 93.06vw;
      height: 38.66vw;
      margin-bottom: 2vw;
    }
    h3{
      font-size: 5.33vw;
      font-family: SourceHanSansCN-Bold;
      font-weight: bold;
      color: rgba(22,22,22,1);
      line-height: 8vw;
      margin-bottom: 4vw;
    }
    p{
      font-size: 4vw;
      font-family: SourceHanSansCN-Regular;
      font-weight: 400;
      color: rgba(104,104,104,1);
      line-height: 8vw;
      overflow:hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      height: 16vw;
      margin-bottom: 4vw;
    }
    .text{
      height: 20.8vw;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 4vw;
      .info{
        width: 44.53vw;
        height: 100%;
        background:rgba(242,242,242,1);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        padding: 1vw 0;
        span{
          &:nth-child(1){
            font-size: 4.8vw;
            font-family: SourceHanSansCN-Bold;
            font-weight: bold;
            color: rgba(22,22,22,1);
          }
          &:nth-child(2){
            font-size: 4vw;
            font-family: SourceHanSansCN-Regular;
            font-weight: 400;
            color:rgba(104,104,104,1);
          }
        }
      }
    }
    .time{
      font-size: 3.46vw;
      font-family: SourceHanSansCN-Regular;
      font-weight: 400;
      color: rgba(190,190,190,1);
      line-height: 5.2vw;
    }
  }
  .bottom{
    width: 100%;
    height: 16.8vw;
    text-align: center;
    line-height: 16.8vw;
    font-size: 3.46vw;
    font-family: SourceHanSansCN-Regular;
    font-weight: 400;
    color: rgba(104,104,104,1);
  }
}
</style>
